<template>
    <div class="layout">
        <Header :type="'content'" />
        <div class="content-box">
            <div class="content-title flex">
                <div class="title">{{ $route.meta.title || '' }}</div>
                <div class="personal-info">
                    <span class="name">何能波</span>
                    <span>男&nbsp;&nbsp;&nbsp;31岁&nbsp;&nbsp;&nbsp;</span>
                    <span>429004********1610</span>
                </div>
            </div>
            <div class="content-info">
                <router-view />
            </div>
        </div>
        <Foot />
    </div>
</template>
<script>
const Header = () => import('@/views/components/Header')
const Foot = () => import('@/views/components/Foot')
export default {
    components: { Header, Foot },
    data() {
        return {}
    },
    computed: {
        title() {
            return ''
        }
    },
    created() {
        console.log(this.$route.meta,'router')
    }
}
</script>
<style lang="scss" scoped>
.layout {
    height: 100%;
    position: relative;
    background: linear-gradient(0deg, #F0F6FF 0%, #B4D4FF 100%);
    .content-box {
        height: calc(100% - 170px);
        overflow-y: auto;
        padding: 17px 28px 0 28px;
        box-sizing: border-box;
    }
    .content-title {
        height: 57px;
        line-height: 57px;
    }
    .title {
        width: 427px;
        height: 57px;
        background: url("./../../assets/home/icon-1.png") no-repeat;
        background-size: 427px 57px;
        font-size: 28px;
        font-family: Adobe Heiti Std;
        font-weight: normal;
        color: #8e3c00;
        padding-left: 18px;
    }
    .personal-info {
        font-size: 26px;
        flex: 1;
        padding-left: 28px;
        box-sizing: border-box;
        .name {
            color: #FF8C38;
            margin-right: 20px;
            font-weight: 500;
        }
    }
    .content-info {
        width: 100%;
        height: calc(100% - 57px);
        background: linear-gradient(0deg, #F3F9FF 0%, #DEEDFF 100%);
        box-shadow: 0px 0px 14px 0px rgba(56,141,255,0.2000);
        border-radius: 0px 14px 14px 14px;
    }
}
</style>

